// TestApplication.js

var appBackground = "#0ebde3";      // Global application background color
var appTopBanner = 0.12;            // Relative banner height
var appToolBar = 0.12;              // Relative toolbar height

var waitDuration = 3000;
var animDuration = 500;
var waitSplash = 3000;
var animSplash = 2000;

var wikiUrl = "https://projects.developer.nokia.com/Qt_Complex/wiki";
var sourceUrl = "https://projects.developer.nokia.com/Qt_Complex/browser";
var mainUrl = "https://projects.developer.nokia.com/Qt_Complex";

function toolbarButtonHome() {
    infopage.state = "Hide";
    homepage.state = "Show";
    mappage.state = "Hide";
    console.log("Home");
}
function toolbarButtonMap() {
    infopage.state = "Hide";
    homepage.state = "Hide";
    mappage.state = "Show";
    console.log("Map");
}
function toolbarButtonInfo() {
    infopage.state = "Show";
    homepage.state = "Hide";
    mappage.state = "Hide";
    console.log("Info");
}
